<?php

require_once "db.inc.php";

class DB extends dbconf{

	/**
	 * Debug mode (display errors)
	 */
	protected $debug = true;


	/**
	 * Host, DB, user/password
	 */
	protected $db_host;
	protected $db_name;
	protected $db_user;
	protected $db_password;


	/**
	 * Email DB errors (not dependent of $debug)
	 */
	protected $email_debug = false;
	protected $email_to = "";


	/**
	 * Automatically open a new link on mysql_connect
	 */
	protected $new_link = false;

	/**
	 * Flags for mysql_connect (MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE, MYSQL_CLIENT_INTERACTIVE, MYSQL_CLIENT_SSL)
	 */
	protected $client_flags = 0;

	/**
	 * Use persistent mysql connection (mysql_pconnect)
	 */
	protected $pconnect = false;

	/**
	 * Automatically call mysql_free_result
	 */
	protected $auto_free = true;

}

?>
